package com.wwj.server.control.msg;

import com.google.gson.annotations.SerializedName;
import com.wwj.server.control.common.MsgConstants;
import com.wwj.server.model.NetBaseMsg;

/**
 * Created by xya on 17-11-17.
 */
public class NotifyServerHeartbeatMsgAck extends NetBaseMsg {
    
    private String type = MsgConstants.NOTIFY_SERVER_HEARTBEAT_ACK;

    @SerializedName("server_name")
    private String serverName;

    public NotifyServerHeartbeatMsgAck(NotifyServerHeartbeatMsg msg) {
        this.serverName = msg.getServerName();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }
}
